package com.gzit.myandroid;

import org.apache.cordova.DroidGap;

import android.os.Bundle;
import android.webkit.WebSettings;
import android.webkit.WebSettings.LayoutAlgorithm;
import android.webkit.WebSettings.PluginState;

public class AdActivity extends DroidGap {

	@Override
	public void onCreate(Bundle arg0) {
		super.onCreate(arg0);
		this.loadUrl("file:///android_asset/offline.html");
		WebSettings settings = this.appView.getSettings();
		settings.setJavaScriptEnabled(true);
		settings.setAllowFileAccess(true);
		settings.setPluginsEnabled(true);
	}

} 
